<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<title></title>
</head>
<body style="background-color: #FFCCFF; color: #000000;">
<script type="text/javascript">
function change(){
	var fgColor = document.body.style.color;
	var bgColor = document.body.style.backgroundColor;
	document.body.style.backgroundColor=fgColor;
	document.body.style.color=bgColor;
}
</script>
明日科技出品必属佳品
<input type="button" value="交互颜色" onClick="change()">
</body>
</html>
